﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using TutorialType = Timetable.Site.Host.TutorialType.TutorialType;

namespace Timetable.Site.Controllers.Api
{
   public class TutorialTypeController : BaseApiController<TutorialType>
   {
       /// <summary>
       /// Возвращает список видов занятий
       /// </summary>
       /// <returns></returns>
        public HttpResponseMessage GetAll()
        {
            return CreateResponse<IEnumerable<TutorialType>>(TutorialTypeService.GetAll);
        }
   }
}